#include "util.h"

Util::Util()
{
}

QString Util::loadFile(const QString &url)
{
    QString lines;
    QFile file(url);
    if ( file.open(QFile::ReadOnly )) {
        QTextStream stream( &file );
        QString line;
        lines.append(stream.readAll());
        file.close();
    }
    return lines;
}
